﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace shenghua.SMS.ThirdParties.AliSMSes
{
    public class AliSMSManager : ThirdPartySMSManagerBase
    {
        public override void SendCaptcha(string phoneNumber, string captcha)
        {
            var sms = AliSMSConfig.GetAliSMSInstance();
            Dictionary<string, string> paras = new Dictionary<string, string>();
            paras.Add("code", captcha);
            sms.SendMessage(AliSMSConfig.SendCaptchaTemplateCode, phoneNumber, paras);
        }
    }
}
